<template>
    <div class="box">
      <!-- 使用组件 -->
        <v-header></v-header>
        <v-main></v-main>
    </div>
</template>

<script>
// 1.引入组件
import vHeader from "./components/vHeader.vue"
import vMain from "./components/vMain.vue"
export default {
  // 2.注册组件
  components :{
    vHeader,
    vMain
  }
}
</script>

<style>
*{
  padding: 0;
  margin: 0;
}
.box{
  width: 100vw;
  height:100vh;
  display: flex;
  flex-direction: column;
}
</style>